package Basic.day03;

public class OperDemo06 {
   public static void main(String[] args){
       //条件运算符
       int a = 10;
       int b = 20;
       int max = (a > b)? a : b;
       System.out.println("max=" + max);
       switch (1) {
           case 1:
               System.out.println("hello");
               break;
           case 2:
               break;
           case 3:
               break;
           default:
               System.out.println("default");
               break;
       }
   }
}
